﻿using Model;
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;

namespace Hotfix
{
    [ObjectEvent]
    public class NetInnerComponentSystemEvent : ObjectEvent<NetInnerComponent>, IAwake<IPEndPoint>
    {
        public void Awake(IPEndPoint p1)
        {
            this.Get().Packer = new ProtobufPacker();
            this.Get().MessageDispatcher = new InnerMessageDispatcher();
            this.Get().Awake(p1);
            this.Get().AppType = Game.Scene.GetComponent<StartConfigComponent>().StartConfig.AppType;
        }
    }

    public class NetInnerComponentSystem 
    {

    }
}
